<?php
/**
 * Created by PhpStorm.
 * User: Qch
 * Date: 2017/1/3
 * Time: 19:34
 */

namespace Application\UserCenter\Controller;


use Application\Common\Controller\ElementUIController;
use Application\Common\Controller\ManyElementUIActor;

/**
 * 角色管理操作
 */
class RoleController extends ElementUIController
{
    protected function bindActor()
    {
        return new ManyElementUIActor($this);
    }

    public function defaultTitle($c, $values)
    {
        return $values['nickname'] . '(' . $values['name'] . ')的角色';
    }
}